<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: Command类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_command.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_command-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Command类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>The abstract parent class of all the command classes. Commands are non-copyable.  
 <a href="class_command.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="command_8h_source.html">command.h</a>&gt;</code></p>
<div class="dynheader">
类 Command 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_command.png" usemap="#Command_map" alt=""/>
  <map id="Command_map" name="Command_map">
<area href="class_copy_command.html" alt="CopyCommand" shape="rect" coords="0,56,124,80"/>
<area href="class_cut_command.html" alt="CutCommand" shape="rect" coords="134,56,258,80"/>
<area href="class_delete_command.html" alt="DeleteCommand" shape="rect" coords="268,56,392,80"/>
<area href="class_denoise_command.html" alt="DenoiseCommand" shape="rect" coords="402,56,526,80"/>
<area href="class_paste_command.html" alt="PasteCommand" shape="rect" coords="536,56,660,80"/>
<area href="class_transform_command.html" alt="TransformCommand" shape="rect" coords="670,56,794,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a641c23ef533dd6f77d0a4ef0311598b2"><td class="memItemLeft" align="right" valign="top"><a id="a641c23ef533dd6f77d0a4ef0311598b2"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a641c23ef533dd6f77d0a4ef0311598b2">~Command</a> ()</td></tr>
<tr class="memdesc:a641c23ef533dd6f77d0a4ef0311598b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:a641c23ef533dd6f77d0a4ef0311598b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a18df2d81039392daeb0b78c346a70537"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a18df2d81039392daeb0b78c346a70537">Command</a> ()</td></tr>
<tr class="memdesc:a18df2d81039392daeb0b78c346a70537"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor.  <a href="class_command.html#a18df2d81039392daeb0b78c346a70537">更多...</a><br /></td></tr>
<tr class="separator:a18df2d81039392daeb0b78c346a70537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af06c78301f9782a47b838b619c4edfaf"><td class="memItemLeft" align="right" valign="top"><a id="af06c78301f9782a47b838b619c4edfaf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#af06c78301f9782a47b838b619c4edfaf">hasUndo</a> () const</td></tr>
<tr class="memdesc:af06c78301f9782a47b838b619c4edfaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the command has an undo function. <br /></td></tr>
<tr class="separator:af06c78301f9782a47b838b619c4edfaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fd7d9bd8df8bfc881e4d6c7cd1878b7"><td class="memItemLeft" align="right" valign="top"><a id="a6fd7d9bd8df8bfc881e4d6c7cd1878b7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a6fd7d9bd8df8bfc881e4d6c7cd1878b7">execute</a> ()=0</td></tr>
<tr class="memdesc:a6fd7d9bd8df8bfc881e4d6c7cd1878b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the command. <br /></td></tr>
<tr class="separator:a6fd7d9bd8df8bfc881e4d6c7cd1878b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5eccd34dc85abda2cd0c21d819c17dc"><td class="memItemLeft" align="right" valign="top"><a id="ad5eccd34dc85abda2cd0c21d819c17dc"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#ad5eccd34dc85abda2cd0c21d819c17dc">undo</a> ()=0</td></tr>
<tr class="memdesc:ad5eccd34dc85abda2cd0c21d819c17dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Undos the command. <br /></td></tr>
<tr class="separator:ad5eccd34dc85abda2cd0c21d819c17dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a6524158d3dd197cef746c64cd0e079e0"><td class="memItemLeft" align="right" valign="top"><a id="a6524158d3dd197cef746c64cd0e079e0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a6524158d3dd197cef746c64cd0e079e0">has_undo_</a></td></tr>
<tr class="memdesc:a6524158d3dd197cef746c64cd0e079e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">a flag indicates whether the command has an undo function. <br /></td></tr>
<tr class="separator:a6524158d3dd197cef746c64cd0e079e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a73edafc4b38e3c5febe1270f1c6ef0d5"><td class="memItemLeft" align="right" valign="top"><a id="a73edafc4b38e3c5febe1270f1c6ef0d5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a73edafc4b38e3c5febe1270f1c6ef0d5">Command</a> (const <a class="el" href="class_command.html">Command</a> &amp;)</td></tr>
<tr class="memdesc:a73edafc4b38e3c5febe1270f1c6ef0d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor - object is non-copyable <br /></td></tr>
<tr class="separator:a73edafc4b38e3c5febe1270f1c6ef0d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee0b09b7cf5f12de7d7bd8cbe46ddab7"><td class="memItemLeft" align="right" valign="top"><a id="aee0b09b7cf5f12de7d7bd8cbe46ddab7"></a>
<a class="el" href="class_command.html">Command</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#aee0b09b7cf5f12de7d7bd8cbe46ddab7">operator=</a> (const <a class="el" href="class_command.html">Command</a> &amp;)</td></tr>
<tr class="memdesc:aee0b09b7cf5f12de7d7bd8cbe46ddab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal Operator - object is non-copyable <br /></td></tr>
<tr class="separator:aee0b09b7cf5f12de7d7bd8cbe46ddab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a01d35a361d1b3ee0eb628df6e3914044"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a01d35a361d1b3ee0eb628df6e3914044">CommandQueue</a></td></tr>
<tr class="separator:a01d35a361d1b3ee0eb628df6e3914044"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>The abstract parent class of all the command classes. Commands are non-copyable. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a18df2d81039392daeb0b78c346a70537"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18df2d81039392daeb0b78c346a70537">&#9670;&nbsp;</a></span>Command()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Command::Command </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The default constructor. </p>
<p>Derived commands are assumed to have undo by default. Each is free to override this. </p>
<div class="fragment"><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;               : <a class="code" href="class_command.html#a6524158d3dd197cef746c64cd0e079e0">has_undo_</a>(<span class="keyword">true</span>)</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    }</div>
<div class="ttc" id="aclass_command_html_a6524158d3dd197cef746c64cd0e079e0"><div class="ttname"><a href="class_command.html#a6524158d3dd197cef746c64cd0e079e0">Command::has_undo_</a></div><div class="ttdeci">bool has_undo_</div><div class="ttdoc">a flag indicates whether the command has an undo function.</div><div class="ttdef"><b>Definition:</b> command.h:88</div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">友元及相关函数文档</h2>
<a id="a01d35a361d1b3ee0eb628df6e3914044"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01d35a361d1b3ee0eb628df6e3914044">&#9670;&nbsp;</a></span>CommandQueue</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_command_queue.html">CommandQueue</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Allows command queues to be the only objects which are able to execute commands. </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/<a class="el" href="command_8h_source.html">command.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_command.html">Command</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
